package com.jueling.culture.service.impl;


import com.jueling.culture.core.AbstractService;
import com.jueling.culture.mapper.AuthorityInfoMapper;
import com.jueling.culture.model.AuthorityInfo;
import com.jueling.culture.service.AuthorityInfoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * @author linp
 * @date  2022/02/18
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class AuthorityInfoServiceImpl extends AbstractService<AuthorityInfo> implements AuthorityInfoService {

    @Resource
    @SuppressWarnings("unused")
    private AuthorityInfoMapper authorityInfoMapper;

    /**
     * 获取权限集合
     * @return
     */
    @Override
    public List<AuthorityInfo> queryAuthorityInfoList() {
        return authorityInfoMapper.queryAuthorityInfoList();
    }


}
